﻿using System;

namespace AttributeTest
{
    [AttributeUsage(AttributeTargets.Property)]
    class AttriStringLength : Attribute
    {
        private int _maximumLength;
        public AttriStringLength(int maximumLength)
        {
            _maximumLength = maximumLength;
        }
        public int MaximumLength
        {
            get { return _maximumLength; }
        }

    }
}
